package com.ny.dao;

import com.ny.entity.Order;
import com.ny.until.SqlConnection;

import java.sql.SQLException;
import java.util.List;

public interface OrderDao {
    public List<Order> findAllOrder() throws SQLException;
    int addOrder(Order order) throws SQLException;
    public int deleteOrder(int orderId) throws SQLException;
    public int updateOrder(Order order) throws SQLException;
}
